package embuzzled.g5;

import java.awt.Color;

public class Constants 
{
	/* Special colors */
	//Represents a cell we haven't colored in yet.
	public static final Color COLOR_CLEAR = new Color(1,2,3);
	//Represents a cell pre-marked as an obstacle we cannot color.
	public static final Color COLOR_OBSTACLE = Color.DARK_GRAY;
	
	/* Strategies to color in a composite puzzle. */
	//Choose one color from the list of possible colors. 
	//Color in all components.
	public static final int COLORING_MONOCOLOR = 0;
	//Assign the (i % numColors)th color to the ith component.
	public static final int COLORING_ROTATE = 1;
	//Assign each component a random color.
	public static final int COLORING_RANDOM = 2;
	//Do not change the color. Assume it's been colored already.
	public static final int COLORING_DO_NOT_COLOR = 3;
	
	/* Strategies to place each component of a composite puzzle. */
	public static final int PLACEMENT_HORIZONTAL = 0;
	public static final int PLACEMENT_HORIZONTAL_BACKWARDS = 1;
	public static final int PLACEMENT_VERTICAL_DOWN = 2;
	public static final int PLACEMENT_VERTICAL_UP = 3;
	public static final int PLACEMENT_DIAGONAL_UP_RIGHT = 4;
	public static final int PLACEMENT_DIAGONAL_DOWN_RIGHT = 5;
	public static final int PLACEMENT_DIAGONAL_DOWN_LEFT = 6;
	public static final int PLACEMENT_DIAGONAL_UP_LEFT = 7;
	public static final int PLACEMENT_CORNERS = 8;
	public static final int PLACEMENT_ANYWHERE = 9;
}
